import React, { Component } from 'react'
import Home from './page/Home/Home';
import Login from './page/Login/Login';
import { HashRouter, Switch, Route } from 'react-router-dom';
import Demo from './page/demo'


export default class App extends Component {
  render() {
    return (
      <HashRouter>
        <Switch>
          <Route path="/login" component={Login}></Route>
          <Route path="/demo" component={Demo}></Route>
          <Route path="/" component={Home}></Route>
        </Switch>
      </HashRouter>
    )
  }
}